package com.woniu.humanresource.dao;

import com.woniu.humanresource.entity.CorporateBenefits;
import com.woniu.humanresource.entity.SalarysTructure;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//薪酬结构表
public interface SalarysTructureDao {
    //   添加薪酬类别
    void insertSalarysTructure(SalarysTructure salarysTructure);

    //查询薪酬类别
    List<SalarysTructure> selectSalarysTructure(
            @Param("salarystructure")SalarysTructure salarysTructure,
            @Param("pageIndex")int pageIndex,
            @Param("pageSize")int pageSize);
    //删除类别
    void deleteSalarysTructure(int id);

    //修改类别
    void updateSalarysTructure(SalarysTructure salarysTructure);

    //条数
    int selectSalarysTructurecount(@Param("salarystructure")SalarysTructure salarysTructure);
}